FROM openjdk:8-jdk-alpine
VOLUME /tmp
COPY  /target/*.jar app.jar
ENV PORT 8080
EXPOSE $PORT
ENTRYPOINT ["java","-Dserver.port=${PORT}","-jar","/app.jar"]